package com.shengsheng.expschedule.service.expschedule.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.shengsheng.expschedule.service.expschedule.entity.Semester;

import java.util.Date;
import java.util.List;

/**
 * <p>
 * 学期表 服务类
 * </p>
 *
 * @author yuan
 * @since 2021-09-29
 */
public interface SemesterService extends IService<Semester> {


    Date getOriginDate(String semesterId);

    Long CalcBetweenDays(String semesterId, Date newDate);

    List<Semester> getSemesterListOrderByOriginDate();

    boolean setCurrentSemesterById(String id);
}
